Summary Statistics

Summary table of main variables of interests (no demographics)

Class 1-High Class 2-Low Class 3-Moderate
Number of Clients 464 469 881
Current Age 44.79 41.94 42.57
Criminal History 3.02 3.1 3.41
Aod Involvement 17.38 2.02 7.72
Disruption 38.01 0.78 8.34
Life Functioning Problems 81.14 9.86 33.11
Aod Last Six Months 11.98 0.34 2.51
Legal Non-Conforming Problems 4.58 1.55 2.88
Proportion with Low Suicide Risk 93.8% (n=435) 99.4% (n=466) 98.5% (n=868)
Proportion with Medium Suicide Risk 4.5% (n=21) 0.6% (n=3) 1.4% (n=12)
Proportion with High Suicide Risk 1.7% (n=8) 0.0% (n=0) 0.1% (n=1)
Proportion with Low Homicide Risk 85.1% (n=395) 97.7% (n=458) 94.9% (n=836)
Proportion with Medium Homicide Risk 11.6% (n=54) 2.1% (n=10) 4.6% (n=40)
Proportion with High Homicide Risk 3.2% (n=15) 0.2% (n=1) 0.6% (n=5)
Proportion with Trauma History 44% (n=204) 29% (n=134) 32% (n=288)
Proportion with Incident History 3% (n=12) 5% (n=23) 3% (n=26)

Complete summary stats of all variables included

## [[1]]
##  StudyClientId      CurrentAge      BirthYear    Gender 
##  Min.   :   1.0   Min.   :23.00   Min.   :1953   F: 30  
##  1st Qu.: 575.5   1st Qu.:37.00   1st Qu.:1968   M:434  
##  Median :1480.0   Median :44.00   Median :1977          
##  Mean   :1539.7   Mean   :44.79   Mean   :1976          
##  3rd Qu.:2491.8   3rd Qu.:53.00   3rd Qu.:1984          
##  Max.   :3517.0   Max.   :68.00   Max.   :1998          
##                                                         
##                                      Race                  MaritalStatus
##  African American or Black             : 99   Civil Union         :  2  
##  American Indian or Alaskan Native     :  3   Divorced/Annulled   : 56  
##  Asian                                 :  1   Legally separated   : 11  
##  Caucasian or White                    :262   Married             : 26  
##  Multi-Racial                          : 22   Other               :  1  
##  Native Hawaiian/Other Pacific Islander:  1   Single/Never Married:362  
##  Some other race                       : 76   Widow/widower       :  6  
##        Religion        PrimaryLanguage UsVeteran   DaysToRTP      
##  None      :139   English      :399    No :459   Min.   :    7.0  
##  Catholic  :122   Spanish      : 37    Yes:  5   1st Qu.:   88.0  
##  Christian : 91   Not Specified: 23              Median :  196.0  
##  Protestant: 38   Armenian     :  2              Mean   : 3602.2  
##  Baptist   : 19   Arabic       :  1              3rd Qu.:  515.5  
##  Other     : 19   Greek        :  1              Max.   :99999.0  
##  (Other)   : 36   (Other)      :  1              NA's   :373      
##                ReturnType  CriminalHistory  AlcoholDrugProblems
##                     :376   Min.   : 0.000   Min.   :0.000      
##  NEW CHARGES        : 51   1st Qu.: 5.000   1st Qu.:2.000      
##  TECH VIOL - SP     :  8   Median : 6.000   Median :4.000      
##  TECH VIOL - TS     :  6   Mean   : 5.991   Mean   :3.684      
##  TECH VIOL - CR     :  4   3rd Qu.: 8.000   3rd Qu.:5.000      
##  TECH VIOL - RELAPSE:  4   Max.   :10.000   Max.   :9.000      
##  (Other)            : 15   NA's   :230      NA's   :230        
##  SuicideRisk_Total HomicideRisk_Total IncidentScore     TraumaHistory
##  Min.   :0.0000    Min.   :0.0000     Min.   : 0.0000   0:260        
##  1st Qu.:0.0000    1st Qu.:0.0000     1st Qu.: 0.0000   1:204        
##  Median :0.0000    Median :0.0000     Median : 0.0000                
##  Mean   :0.6379    Mean   :0.1616     Mean   : 0.5884                
##  3rd Qu.:1.0000    3rd Qu.:0.0000     3rd Qu.: 0.0000                
##  Max.   :8.0000    Max.   :7.0000     Max.   :16.0000                
##                                                                      
##      City           AodInvolvement    Disruption    AodLastSixMonths
##  Length:464         Min.   : 0.00   Min.   : 2.00   Min.   : 0.00   
##  Class :character   1st Qu.:11.00   1st Qu.:27.00   1st Qu.: 0.00   
##  Mode  :character   Median :16.00   Median :37.00   Median : 3.00   
##                     Mean   :17.38   Mean   :38.01   Mean   :11.98   
##                     3rd Qu.:23.00   3rd Qu.:48.00   3rd Qu.:20.25   
##                     Max.   :40.00   Max.   :80.00   Max.   :97.00   
##                                                                     
##  LegalNonConformingLastSixMonths GlobalAodPsychosocialDistruptionAndProblems
##  Min.   : 0.000                  Min.   : 10.00                             
##  1st Qu.: 1.000                  1st Qu.: 64.00                             
##  Median : 3.000                  Median : 77.00                             
##  Mean   : 4.582                  Mean   : 81.14                             
##  3rd Qu.: 7.000                  3rd Qu.: 94.25                             
##  Max.   :24.000                  Max.   :162.00                             
##                                                                             
##   age_group          Aod1_class   Aod2_class  Disruption_class
##  Length:464         high  :314   high  :216   high  :399      
##  Class :character   low   :  1   low   :209   low   :  0      
##  Mode  :character   medium:149   medium: 39   medium: 65      
##                                                               
##                                                               
##                                                               
##                                                               
##  LegalNonConform_class LifeFunctionality_class Suicide_class Homicide_class
##  high  :173            high  :443              high  :  8    high  : 15    
##  low   : 91            low   :  4              low   :435    low   :395    
##  medium:200            medium: 17              medium: 21    medium: 54    
##                                                                            
##                                                                            
##                                                                            
##                                                                            
##  Trauma_class       Client_class Incident_class   Discharged City
##  Length:464         1:464        No :452        New Haven :193   
##  Class :character   2:  0        Yes: 12        Middletown: 58   
##  Mode  :character   3:  0                       Hartford  : 20   
##                                                 Waterbury : 20   
##                                                 Bridgeport: 17   
##                                                 (Other)   :121   
##                                                 NA's      : 35   
## 
## [[2]]
##  StudyClientId    CurrentAge      BirthYear    Gender 
##  Min.   :  27   Min.   :22.00   Min.   :1939   F:  2  
##  1st Qu.: 833   1st Qu.:32.00   1st Qu.:1970   M:467  
##  Median :1801   Median :40.00   Median :1981          
##  Mean   :1671   Mean   :41.94   Mean   :1979          
##  3rd Qu.:2468   3rd Qu.:51.00   3rd Qu.:1989          
##  Max.   :3252   Max.   :82.00   Max.   :2000          
##                                                       
##                                      Race                  MaritalStatus
##  African American or Black             :230   Civil Union         :  2  
##  American Indian or Alaskan Native     :  3   Divorced/Annulled   : 51  
##  Asian                                 :  4   Legally separated   :  4  
##  Caucasian or White                    : 91   Married             : 41  
##  Multi-Racial                          : 23   Other               :  1  
##  Native Hawaiian/Other Pacific Islander:  0   Single/Never Married:367  
##  Some other race                       :118   Widow/widower       :  3  
##        Religion          PrimaryLanguage UsVeteran   DaysToRTP      
##  None      :140   English        :361    No :460   Min.   :   43.0  
##  Christian :114   Spanish        : 61    Yes:  9   1st Qu.:  154.0  
##  Catholic  : 71   Not Specified  : 37              Median :  267.0  
##  Protestant: 44   Arabic         :  4              Mean   : 5880.8  
##  Baptist   : 32   Other - specify:  3              3rd Qu.:  494.5  
##  Islamic   : 28   French         :  1              Max.   :99999.0  
##  (Other)   : 40   (Other)        :  2              NA's   :397      
##                  ReturnType  CriminalHistory  AlcoholDrugProblems
##                       :401   Min.   : 0.000   Min.   :0.00       
##  NEW CHARGES          : 37   1st Qu.: 4.000   1st Qu.:0.00       
##  TECH VIOL - SP       :  7   Median : 6.000   Median :1.00       
##  NEW CHARGES - PAROLE :  4   Mean   : 5.204   Mean   :1.72       
##  TECH VIOL - TS       :  4   3rd Qu.: 7.000   3rd Qu.:3.00       
##  RETURN - ABSCONDER SP:  3   Max.   :10.000   Max.   :9.00       
##  (Other)              : 13   NA's   :190      NA's   :190        
##  SuicideRisk_Total HomicideRisk_Total IncidentScore     TraumaHistory
##  Min.   :0.0000    Min.   :0.00000    Min.   : 0.0000   0:335        
##  1st Qu.:0.0000    1st Qu.:0.00000    1st Qu.: 0.0000   1:134        
##  Median :0.0000    Median :0.00000    Median : 0.0000                
##  Mean   :0.1535    Mean   :0.05544    Mean   : 0.4222                
##  3rd Qu.:0.0000    3rd Qu.:0.00000    3rd Qu.: 0.0000                
##  Max.   :5.0000    Max.   :2.00000    Max.   :17.0000                
##                                                                      
##      City           AodInvolvement     Disruption      AodLastSixMonths 
##  Length:469         Min.   : 0.000   Min.   : 0.0000   Min.   : 0.0000  
##  Class :character   1st Qu.: 0.000   1st Qu.: 0.0000   1st Qu.: 0.0000  
##  Mode  :character   Median : 1.000   Median : 0.0000   Median : 0.0000  
##                     Mean   : 2.017   Mean   : 0.7846   Mean   : 0.3412  
##                     3rd Qu.: 3.000   3rd Qu.: 1.0000   3rd Qu.: 0.0000  
##                     Max.   :13.000   Max.   :17.0000   Max.   :10.0000  
##                                                                         
##  LegalNonConformingLastSixMonths GlobalAodPsychosocialDistruptionAndProblems
##  Min.   : 0.00                   Min.   : 0.000                             
##  1st Qu.: 0.00                   1st Qu.: 3.000                             
##  Median : 0.00                   Median :10.000                             
##  Mean   : 1.55                   Mean   : 9.864                             
##  3rd Qu.: 2.00                   3rd Qu.:15.000                             
##  Max.   :19.00                   Max.   :51.000                             
##                                                                             
##   age_group          Aod1_class   Aod2_class  Disruption_class
##  Length:469         high  :  1   high  :  2   high  :  0      
##  Class :character   low   :368   low   :392   low   :384      
##  Mode  :character   medium:100   medium: 75   medium: 85      
##                                                               
##                                                               
##                                                               
##                                                               
##  LegalNonConform_class LifeFunctionality_class Suicide_class Homicide_class
##  high  : 50            high  :  0              high  :  0    high  :  1    
##  low   :246            low   :421              low   :466    low   :458    
##  medium:173            medium: 48              medium:  3    medium: 10    
##                                                                            
##                                                                            
##                                                                            
##                                                                            
##  Trauma_class       Client_class Incident_class   Discharged City
##  Length:469         1:  0        No :446        New Haven :214   
##  Class :character   2:469        Yes: 23        Middletown: 58   
##  Mode  :character   3:  0                       Hartford  : 24   
##                                                 Bridgeport: 21   
##                                                 Waterbury : 13   
##                                                 (Other)   :102   
##                                                 NA's      : 37   
## 
## [[3]]
##  StudyClientId    CurrentAge      BirthYear    Gender 
##  Min.   :   4   Min.   :21.00   Min.   :1942   F: 23  
##  1st Qu.: 705   1st Qu.:33.00   1st Qu.:1970   M:858  
##  Median :1618   Median :41.00   Median :1980          
##  Mean   :1588   Mean   :42.57   Mean   :1979          
##  3rd Qu.:2440   3rd Qu.:51.00   3rd Qu.:1988          
##  Max.   :3553   Max.   :79.00   Max.   :2000          
##                                                       
##                                      Race                  MaritalStatus
##  African American or Black             :386   Civil Union         :  5  
##  American Indian or Alaskan Native     :  6   Divorced/Annulled   : 76  
##  Asian                                 :  1   Legally separated   : 20  
##  Caucasian or White                    :229   Married             : 76  
##  Multi-Racial                          : 47   Other               :  0  
##  Native Hawaiian/Other Pacific Islander:  0   Single/Never Married:702  
##  Some other race                       :212   Widow/widower       :  2  
##        Religion          PrimaryLanguage UsVeteran   DaysToRTP    
##  None      :255   English        :719    No :868   Min.   :    2  
##  Christian :215   Spanish        :101    Yes: 13   1st Qu.:  120  
##  Catholic  :173   Not Specified  : 54              Median :  260  
##  Protestant: 70   Arabic         :  2              Mean   : 2796  
##  Baptist   : 62   Other - specify:  2              3rd Qu.:  529  
##  Islamic   : 43   French         :  1              Max.   :99999  
##  (Other)   : 63   (Other)        :  2              NA's   :718    
##                ReturnType  CriminalHistory  AlcoholDrugProblems
##                     :722   Min.   : 0.000   Min.   :0.000      
##  NEW CHARGES        : 95   1st Qu.: 5.000   1st Qu.:1.000      
##  TECH VIOL - SP     : 16   Median : 6.000   Median :2.000      
##  TECH VIOL - RELAPSE:  8   Mean   : 5.785   Mean   :2.611      
##  TECH VIOL - CR     :  7   3rd Qu.: 7.000   3rd Qu.:4.000      
##  NEW CHARGES - SP   :  6   Max.   :10.000   Max.   :9.000      
##  (Other)            : 27   NA's   :361      NA's   :361        
##  SuicideRisk_Total HomicideRisk_Total IncidentScore     TraumaHistory
##  Min.   :0.0000    Min.   :0.00000    Min.   : 0.0000   0:593        
##  1st Qu.:0.0000    1st Qu.:0.00000    1st Qu.: 0.0000   1:288        
##  Median :0.0000    Median :0.00000    Median : 0.0000                
##  Mean   :0.2645    Mean   :0.09875    Mean   : 0.5403                
##  3rd Qu.:0.0000    3rd Qu.:0.00000    3rd Qu.: 0.0000                
##  Max.   :7.0000    Max.   :5.00000    Max.   :26.0000                
##                                                                      
##      City           AodInvolvement     Disruption     AodLastSixMonths
##  Length:881         Min.   : 0.000   Min.   : 0.000   Min.   : 0.000  
##  Class :character   1st Qu.: 5.000   1st Qu.: 3.000   1st Qu.: 0.000  
##  Mode  :character   Median : 7.000   Median : 7.000   Median : 0.000  
##                     Mean   : 7.721   Mean   : 8.342   Mean   : 2.512  
##                     3rd Qu.:10.000   3rd Qu.:13.000   3rd Qu.: 3.000  
##                     Max.   :40.000   Max.   :34.000   Max.   :40.000  
##                                                                       
##  LegalNonConformingLastSixMonths GlobalAodPsychosocialDistruptionAndProblems
##  Min.   : 0.00                   Min.   : 6.00                              
##  1st Qu.: 1.00                   1st Qu.:24.00                              
##  Median : 2.00                   Median :32.00                              
##  Mean   : 2.88                   Mean   :33.11                              
##  3rd Qu.: 4.00                   3rd Qu.:42.00                              
##  Max.   :24.00                   Max.   :65.00                              
##                                                                             
##   age_group          Aod1_class   Aod2_class  Disruption_class
##  Length:881         high  :106   high  :164   high  : 33      
##  Class :character   low   :126   low   :516   low   :143      
##  Mode  :character   medium:649   medium:201   medium:705      
##                                                               
##                                                               
##                                                               
##                                                               
##  LegalNonConform_class LifeFunctionality_class Suicide_class Homicide_class
##  high  :198            high  :  2              high  :  1    high  :  5    
##  low   :211            low   : 41              low   :868    low   :836    
##  medium:472            medium:838              medium: 12    medium: 40    
##                                                                            
##                                                                            
##                                                                            
##                                                                            
##  Trauma_class       Client_class Incident_class    Discharged City
##  Length:881         1:  0        No :855        New Haven  :381   
##  Class :character   2:  0        Yes: 26        Middletown : 83   
##  Mode  :character   3:881                       Hartford   : 61   
##                                                 Bridgeport : 45   
##                                                 New Britain: 27   
##                                                 (Other)    :230   
##                                                 NA's       : 54

Visualizations

All Client classes profiles: radarcharts

Client characteristics by class membership

Demographics by class

ASUS scale factors vs. class

Suicide & Homicide risks vs. class

Trauma history vs. class

Incident scores vs. class

Chi-square Test

Chi-square on Incident_class vs. Class membership

## 
##  Pearson's Chi-squared test
## 
## data:  data$Incident_class and data$class
## X-squared = 4.7488, df = 2, p-value = 0.09307
##                    data$class
## data$Incident_class   1   2   3
##                 No  452 446 855
##                 Yes  12  23  26
##                    data$class
## data$Incident_class          1          2          3
##                 No  0.97413793 0.95095949 0.97048808
##                 Yes 0.02586207 0.04904051 0.02951192
##                    data$class
## data$Incident_class         1         2         3
##                 No  0.2578437 0.2544210 0.4877353
##                 Yes 0.1967213 0.3770492 0.4262295
Incident History Class 1 - High (n=464) Class 2 - Low (n=469) Class 3 - Moderate (n=881)
No 97.41% 95.1% 97.05%
Yes 2.59% 4.9% 2.95%

Chi-square on Discharged City vs. Class membership

## Adjusted p-values used the bonferroni method.
##   comparison  raw.p  adj.p
## 1    1 vs. 2 0.0837 0.2511
## 2    1 vs. 3 0.8628 1.0000
## 3    2 vs. 3 0.0915 0.2745
## 
##  Pearson's Chi-squared test
## 
## data:  data$City and data$Client_class
## X-squared = 182.6, df = 182, p-value = 0.4736
Discharged City Class 1 - High (n=464) Class 2 - Low (n=469) Class 3 - Moderate (n=881)
New Haven 41.59% 45.63% 43.25%
Middletown 12.5% 12.37% 9.42%
Hartford 4.31% 5.12% 6.92%
Waterbury 4.31% 2.77% 3.06%
Bridgeport 3.66% 4.48% 5.11%
Torrington 2.37% 0.85% 1.7%
New London 1.72% 1.71% 1.02%
New Britain 1.51% 1.71% 3.06%
Willimantic 1.51% 0.64% 1.36%
Bethel 1.29% 0.43% 0.57%